package work.xiaohong.saolei;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author : xiaohong
 * @date : 2021/5/27 15:25
 */
@SpringBootApplication
@MapperScan("work.xiaohong.saolei.dao")
@EnableDiscoveryClient
@RefreshScope
@ComponentScan(basePackages = "work.xiaohong")
public class SaoLeiApplication {
    public static void main(String[] args) {
        SpringApplication.run(SaoLeiApplication.class,args);
    }
}
